﻿using K9Nano.Events.Entity;

namespace K9Nano.IdentityServerCore.Data.Events
{
    public class IdentityServerEntityCacheFilter : IEntityCacheFilter
    {
        public bool Cache(object entity)
        {
            return entity.GetType().Namespace.StartsWith("K9");
        }
    }
}